KN Y
UR R
E
Ryan Transfiguracion
July 23, 2018
| TeamRole | BlueTeam | RedTeam |
|---|---|---|
| TOP | 1 | 6 |
| JUNGLE | 2 | 7 |
| MID | 3 | 8 |
| BOTCARRY | 4 | 9 |
| SUPPORT | 5 | 10 |
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| DUO, BOTTOM | 77 | 0 | 57 | 77 | 0 |
| DUO, MIDDLE | 0 | 55 | 0 | 0 | 55 |
| DUO_CARRY, BOTTOM | 111 | 0 | 0 | 0 | 0 |
| DUO_CARRY, MIDDLE | 0 | 0 | 4 | 0 | 0 |
| DUO_SUPPORT, BOTTOM | 0 | 0 | 0 | 111 | 0 |
| DUO_SUPPORT, MIDDLE | 0 | 4 | 0 | 0 | 0 |
| NONE, JUNGLE | 9 | 173 | 58 | 8 | 57 |
| SOLO, BOTTOM | 5 | 0 | 0 | 38 | 0 |
| SOLO, MIDDLE | 0 | 2 | 115 | 0 | 0 |
| SOLO, TOP | 32 | 0 | 0 | 0 | 122 |
| Region.ID | Game.ID | Hash.ID | Blue.Team | Red.Team |
|---|---|---|---|---|
| TRLH1 | 1002440062 | a3b08c115923f00d | Team Liquid | Team Solo Mid |
| TRLH1 | 1002440076 | c426d3d50426edb3 | 100 Thieves | OpTic Gaming |
| TRLH1 | 1002440084 | f0f86e52b6e472e9 | Clutch Gaming | Golden Guardians |
| TRLH1 | 1002440095 | fd3b9331ff5312e3 | Echo Fox | FlyQuest |
| TRLH1 | 1002440106 | d6441d4ec8f87534 | Counter Logic Gaming | Cloud9 |
| TRLH1 | 1002440127 | 361bcc2e848641d2 | OpTic Gaming | Team Liquid |
participants and participantIdentities) that contain indvidual player statsparticipantIdentities contains 10 players’ usernames under sub-object playerparticipants contains two more sub-objects (stats and timeline)participants is flattened out, then joined with player| summonerName | kills | deaths | assists | totalDamageTaken | |
|---|---|---|---|---|---|
| 403 | EVS Warzone | 1 | 3 | 5 | 11648 |
| 683 | KZ Bdd | 3 | 1 | 9 | 7511 |
| 732 | RNG Karsa | 1 | 3 | 10 | 19421 |
| 464 | RNG Uzi | 6 | 1 | 10 | 9316 |
| 539 | EVS Slay | 2 | 4 | 2 | 11608 |
| 39 | KLG Fix | 3 | 2 | 10 | 9255 |
| 41 | KLG Nate | 2 | 1 | 4 | 20259 |
| 406 | KZ Khan | 3 | 0 | 4 | 19232 |
| 565 | EVS RonOP | 0 | 4 | 2 | 18872 |
| 157 | GMB Diamondprox | 1 | 2 | 7 | 24735 |
| 59 | GMB Lodik | 5 | 0 | 7 | 5534 |
| 117 | SUP Stomaged | 2 | 0 | 15 | 14868 |
| summonerName | kills | deaths | assists | totalDamageTaken | |
|---|---|---|---|---|---|
| 65 | RNG Ming | 0.8888889 | 1.500000 | 8.888889 | 11705.83 |
| 24 | FW Moojin | 2.1666667 | 1.666667 | 5.222222 | 24486.17 |
| 63 | RNG Karsa | 1.5714286 | 1.571429 | 8.714286 | 22081.57 |
| 33 | GMB Edward | 0.8888889 | 2.666667 | 7.222222 | 14253.56 |
| 70 | TL Impact | 1.7272727 | 2.272727 | 4.000000 | 23604.55 |
| 66 | RNG Mlxg | 2.4545455 | 1.818182 | 5.454546 | 26075.09 |
| 50 | KZ Khan | 2.3888889 | 2.055556 | 3.222222 | 22908.28 |
| 36 | GMB PVPStejos | 1.5555556 | 2.222222 | 5.333333 | 29927.33 |
| 14 | DW Shernfire | 2.1666667 | 3.666667 | 4.166667 | 29793.67 |
| 10 | SUP Zeitnot | 5.2000000 | 2.200000 | 4.900000 | 10362.70 |
| 18 | EVS Stark | 2.0000000 | 2.142857 | 4.571429 | 19437.71 |
| 16 | EVS RonOP | 0.5714286 | 4.214286 | 5.071429 | 17344.43 |
| variableName | description |
|---|---|
| kills | The number of enemy champions killed. |
| assists | The number of enemy champions assisted in killing. |
| magicDamageDealt | The amount of magic damage dealt. |
| physicalDamageDealt | The amount of physical damage dealt. |
| magicDamageDealtToChampions | The amount of magic damage dealt to enemy champions only. |
| physicalDamageDealtToChampions | The amount of physical damage dealt to enemy champions only. |
| totalHeal | The amount of health points the player has regained. |
| variableName | description |
|---|---|
| totalUnitsHealed | The number of entities a player healed. |
| damageSelfMitigated | The amount of health points that were not lost from damage. |
| totalDamageTaken | The amount of damage a player took from various sources. |
| neutralMinionsKilled | The number of neutral monsters killed by a player. |
| timeCCingOthers | The weighted sum of all CC applied |
| totalTimeCrowdControlDealt | The sum of all CC applied |
| champLevel | The (experience) level of a player at the end of a match. |
| variableName | description |
|---|---|
| visionWardsBoughtInGame | The number of wards (i.e. surveillance items) a player purchased. |
| wardsPlaced | The number of wards a player placed in the arena. |
| wardsKilled | The number of enemy wards a player destroyed. |
| physDmgToChampsToDmgTakenRatio | Physical damage dealt to champions / Total damage taken |
| totalMinionsKilled | The number of enemy minions killed. |
| damageTakenPerMinDeltas.0.10 | The amount of damage taken per minute from 0:00 to 10:00 minutes. |
| creepsPerMinDeltas.0.10 | The number of enemy minions killed per minute from 0:00 to 10:00 minutes. |
k=5.k=1.Note: features are scaled using z-score.
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| BOTCARRY | 18 | 0 | 0 | 0 | 0 |
| JUNGLE | 0 | 22 | 0 | 0 | 0 |
| MID | 0 | 0 | 20 | 0 | 0 |
| SUPPORT | 0 | 0 | 0 | 17 | 0 |
| TOP | 0 | 0 | 0 | 0 | 19 |
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| BOTCARRY | 27 | 0 | 0 | 0 | 0 |
| JUNGLE | 0 | 31 | 0 | 0 | 0 |
| MID | 0 | 0 | 28 | 0 | 0 |
| SUPPORT | 0 | 0 | 0 | 24 | 0 |
| TOP | 0 | 0 | 0 | 0 | 27 |
knn_pred_test_single_games <- get.knnx(train_fit.km$centers,
all_leagues_match_player_stats_scaled,
k=1)$nn.index[, 1]| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| BOTCARRY | 1321 | 1 | 10 | 0 | 68 |
| JUNGLE | 0 | 1378 | 1 | 14 | 4 |
| MID | 19 | 1 | 1321 | 0 | 120 |
| SUPPORT | 0 | 7 | 1 | 1376 | 0 |
| TOP | 52 | 5 | 59 | 2 | 1200 |
## Confusion Matrix and Statistics
##
##
## knn_pred_test_single_games BOTCARRY JUNGLE MID SUPPORT TOP
## BOTCARRY 1321 1 10 0 68
## JUNGLE 0 1378 1 14 4
## MID 19 1 1321 0 120
## SUPPORT 0 7 1 1376 0
## TOP 52 5 59 2 1200
##
## Overall Statistics
##
## Accuracy : 0.9477
## 95% CI : (0.9422, 0.9528)
## No Information Rate : 0.2
## P-Value [Acc > NIR] : < 2.2e-16
##
## Kappa : 0.9346
## Mcnemar's Test P-Value : NA
##
## Statistics by Class:
##
## Class: BOTCARRY Class: JUNGLE Class: MID
## Sensitivity 0.9490 0.9899 0.9490
## Specificity 0.9858 0.9966 0.9749
## Pos Pred Value 0.9436 0.9864 0.9042
## Neg Pred Value 0.9872 0.9975 0.9871
## Prevalence 0.2000 0.2000 0.2000
## Detection Rate 0.1898 0.1980 0.1898
## Detection Prevalence 0.2011 0.2007 0.2099
## Balanced Accuracy 0.9674 0.9933 0.9619
## Class: SUPPORT Class: TOP
## Sensitivity 0.9885 0.8621
## Specificity 0.9986 0.9788
## Pos Pred Value 0.9942 0.9105
## Neg Pred Value 0.9971 0.9660
## Prevalence 0.2000 0.2000
## Detection Rate 0.1977 0.1724
## Detection Prevalence 0.1989 0.1894
## Balanced Accuracy 0.9935 0.9204
| BOTCARRY | JUNGLE | MID | SUPPORT | TOP | |
|---|---|---|---|---|---|
| DUO, BOTTOM | 538 | 0 | 395 | 538 | 0 |
| DUO, MIDDLE | 0 | 347 | 0 | 0 | 347 |
| DUO, TOP | 0 | 3 | 0 | 0 | 3 |
| DUO_CARRY, BOTTOM | 533 | 0 | 0 | 0 | 0 |
| DUO_CARRY, MIDDLE | 0 | 0 | 12 | 0 | 0 |
| DUO_SUPPORT, BOTTOM | 0 | 0 | 0 | 533 | 0 |
| DUO_SUPPORT, MIDDLE | 0 | 12 | 0 | 0 | 0 |
| NONE, JUNGLE | 91 | 985 | 402 | 66 | 397 |
| SOLO, BOTTOM | 15 | 0 | 0 | 255 | 0 |
| SOLO, MIDDLE | 0 | 23 | 583 | 0 | 22 |
| SOLO, TOP | 215 | 22 | 0 | 0 | 623 |
timeline API using match IDs)